@import '~styles/config.scss';

.SelectAddress {
    display: block;
    width:100%;
    border:1px solid $--border-color-light;
    border-radius: 3px;
    cursor: pointer;
    box-sizing: border-box;
    background: #fff;
    &:hover{
        border:1px solid $--border-color-base;
    }
    &.disabled{
        opacity: .7;
    }
}

.box {
    margin:10px;
    line-height:16px;
    font-size: 12px;
    align-items: center;
    color:$--color-text-regular;
    position: relative;
    padding-right:26px;

    display           : -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow          : hidden;

    .s1 {
        display: inline-block;
        margin-left: 3px;
    }

    .clean {
        position: absolute;
        top:50%; 
        right:0px;
        height:20px; line-height:20px;
        cursor     : pointer;
        color      : $--color-text-secondary;
        margin-top:-10px;
        padding-left:10px;
        border-left:1px solid $--border-color-light;
        font-size  : 12px;
        background: #fff;
    }

    .tt {
        display      : block;
        overflow     : hidden;
        text-overflow: ellipsis;
        white-space  : nowrap;
    }
}